public class Mine
{
    private int xPos; // position of mine
	private int yPos;
    private int counter = 0; // life counter. when it gets to 100, the mine dissapears. Dealt with in CaptureBase.java
	public Mine(Tile tile)
		// gets the tile the mine is on and sets that as its x and y values
	{
		this.xPos = tile.getPosX();
		this.yPos = tile.getPosY();
	}

    // getters and setters
	public int getCounter()
	{
		return this.counter;
	}

	public void incrementCounter()
	{
		this.counter++;
	}

	public int getXPos()
	{
		return this.xPos;
	}

	public int getYPos()
	{
		return this.yPos;
	}
}